ab09fa29246df35dc7593180c4136a41307c296a,core/languageDesign/structure/source_gen/jetbrains/mps/lang/structure/behavior/AbstractConceptDeclaration_Behavior.java,AbstractConceptDeclaration_Behavior,call_findConstraints_6409339300305625141,#SNode#IScope#,63

Before Change


      return null;
    }

    SModel model = constraints.getSModel();
    for (SNode constraintsRoot : SModelOperations.getRoots(model, "jetbrains.mps.lang.constraints.structure.ConceptConstraints")) {
      if (SLinkOperations.getTarget(constraintsRoot, "concept", false) == thisNode) {
        return constraintsRoot;
      }
    }

    return null;
  }

  public static SNode call_findBehaviour_1213877394029(SNode thisNode, IScope scope) {

After Change


    if (constraints == null) {
      return null;
    }
    return AbstractConceptDeclaration_Behavior.call_findConstraints_8941943470987278548(thisNode, constraints.getSModel());
  }

  public static SNode call_findConstraints_8941943470987278548(SNode thisNode, SModel model) {